package ${bussPackage}.page.${entityPackage};


import com.base.page.BasePage;
import com.base.util.StringUtil;
import java.math.BigDecimal;

/**
 * ${tableComment}
 * <pre>
 * @className : ${className}Page
 * @tableName : ${tableName}
 * @author : zhangxiaojin
 * </pre>
 */
public class ${className}Page extends BasePage {

	private static final long serialVersionUID = 1L;
<#list  columnList as columnEntity >
<#if columnEntity.javaDataTypeWrapper=='java.util.Date' >
	/**  ${columnEntity.columnComment}  */
	private String ${columnEntity.javaname};
	/** （开始） ${columnEntity.columnComment}*/
	private String ${columnEntity.javaname}_1;
	/** （结束） ${columnEntity.columnComment}*/
	private String ${columnEntity.javaname}_2;
<#else>
	/**  ${columnEntity.columnComment}  */
	private ${columnEntity.javaDataTypeWrapper} ${columnEntity.javaname};
</#if>
</#list>


	public ${className}Page (){}


<#list  columnList as columnEntity >
<#if columnEntity.javaDataTypeWrapper=='String' >
	/** get ${columnEntity.columnComment} */
	public ${columnEntity.javaDataTypeWrapper} get${columnEntity.javaName}() {
		return  StringUtil.trim(${columnEntity.javaname});
	}
	/** set ${columnEntity.columnComment} */
	public void set${columnEntity.javaName}(${columnEntity.javaDataTypeWrapper} ${columnEntity.javaname}) {
		this.${columnEntity.javaname} = StringUtil.trim(${columnEntity.javaname});
	}
<#elseif  columnEntity.javaDataTypeWrapper=='java.util.Date' >
	/** get ${columnEntity.columnComment} */
	public String get${columnEntity.javaName}() {
		return ${columnEntity.javaname};
	}
	/** set ${columnEntity.columnComment} */
	public void set${columnEntity.javaName}(String ${columnEntity.javaname}) {
		this.${columnEntity.javaname} = ${columnEntity.javaname};
	}
	/** get （开始）${columnEntity.columnComment} */
	public String get${columnEntity.javaName}_1() {
		return ${columnEntity.javaname}_1;
	}
	/** set （开始）${columnEntity.columnComment} */
	public void set${columnEntity.javaName}_1(String ${columnEntity.javaname}_1) {
		this.${columnEntity.javaname}_1 = ${columnEntity.javaname}_1;
	}
	/** get （结束）${columnEntity.columnComment} */
	public String get${columnEntity.javaName}_2() {
		return ${columnEntity.javaname}_2;
	}
	/** set （结束）${columnEntity.columnComment} */
	public void set${columnEntity.javaName}_2(String ${columnEntity.javaname}_2) {
		this.${columnEntity.javaname}_2 = ${columnEntity.javaname}_2;
	}
<#else>
	/** get ${columnEntity.columnComment} */
	public ${columnEntity.javaDataTypeWrapper} get${columnEntity.javaName}() {
		return ${columnEntity.javaname};
	}
	/** set ${columnEntity.columnComment} */
	public void set${columnEntity.javaName}(${columnEntity.javaDataTypeWrapper} ${columnEntity.javaname}) {
		this.${columnEntity.javaname} = ${columnEntity.javaname};
	}
</#if>

</#list>


	public String toString() {
		return "${className}[<#list columnList as columnEntity><#if columnEntity_index!=0>",</#if> ${columnEntity.javaname}=" + ${columnEntity.javaname} + </#list>"]";
	}


}